package com.open.capacity.user.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * ftp配置
 */
@Component
@ConfigurationProperties(prefix = "system.security")
public class SystemConfigProperties {

    private String passwordRegular;
    private Integer enabled;
    private String defaultPassword;

    public String getPasswordRegular() {
        return passwordRegular;
    }

    public void setPasswordRegular(String passwordRegular) {
        this.passwordRegular = passwordRegular;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    public String getDefaultPassword() {
        return defaultPassword;
    }

    public void setDefaultPassword(String defaultPassword) {
        this.defaultPassword = defaultPassword;
    }

    @Override
    public String toString() {
        return "SystemConfigProperties{" +
                "passwordRegular='" + passwordRegular + '\'' +
                ", enabled=" + enabled +
                '}';
    }
}
